#pragma once
#include"Define.h"
class Background
{
	public:
	void display(){
		glPushMatrix();
		glLineWidth(2); 
		glLineStipple(1,0xAAAA); 
		//Ve day  tren 
		glEnable(GL_LINE_STIPPLE);
		glColor3f(0.0, 0.0, 0.0);
		glBegin(GL_LINES);
		glVertex3f(-WIDTH/2,HEIGHT/2-100, 0.0);
		glVertex3f(WIDTH/2,HEIGHT/2-100,0);
		glEnd();
		//Ve day duoi tren man hinh
		glBegin(GL_LINES);
		glVertex3f(-WIDTH/2,-HEIGHT/2+50, 0.0);
		glVertex3f(WIDTH/2,-HEIGHT/2+50,0);
		glEnd();
		glPopMatrix();
	}
};
